package com.zys.el.time.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;


@TableName(value = "target_")
@Data
public class Target implements Serializable {
    /**
     *
     */
    @TableId
    private Long id;

    /**
     *
     */
    private String name;

    /**
     *
     */
    private String description;

    /**
     * 0 通用,1 专业,2 其他
     */
    private Integer type;

    /**
     * 专注总时长
     */
    @TableField(exist = false)
    private String absorbedDuration;

    /**
     * 专注次数
     */
    @TableField(exist = false)
    private Integer absorbedTimes;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}